﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020004DB RID: 1243
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EvolveBuildShopAbilityUpScRsp : IMessage<EvolveBuildShopAbilityUpScRsp>, IMessage, IEquatable<EvolveBuildShopAbilityUpScRsp>, IDeepCloneable<EvolveBuildShopAbilityUpScRsp>, IBufferMessage
	{
		// Token: 0x1700101B RID: 4123
		// (get) Token: 0x06003839 RID: 14393 RVA: 0x0009AF49 File Offset: 0x00099149
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EvolveBuildShopAbilityUpScRsp> Parser
		{
			get
			{
				return EvolveBuildShopAbilityUpScRsp._parser;
			}
		}

		// Token: 0x1700101C RID: 4124
		// (get) Token: 0x0600383A RID: 14394 RVA: 0x0009AF50 File Offset: 0x00099150
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EvolveBuildShopAbilityUpScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700101D RID: 4125
		// (get) Token: 0x0600383B RID: 14395 RVA: 0x0009AF62 File Offset: 0x00099162
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EvolveBuildShopAbilityUpScRsp.Descriptor;
			}
		}

		// Token: 0x0600383C RID: 14396 RVA: 0x0009AF69 File Offset: 0x00099169
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildShopAbilityUpScRsp()
		{
		}

		// Token: 0x0600383D RID: 14397 RVA: 0x0009AF71 File Offset: 0x00099171
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildShopAbilityUpScRsp(EvolveBuildShopAbilityUpScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.shopSkillId_ = other.shopSkillId_;
			this.level_ = other.level_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600383E RID: 14398 RVA: 0x0009AFAE File Offset: 0x000991AE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildShopAbilityUpScRsp Clone()
		{
			return new EvolveBuildShopAbilityUpScRsp(this);
		}

		// Token: 0x1700101E RID: 4126
		// (get) Token: 0x0600383F RID: 14399 RVA: 0x0009AFB6 File Offset: 0x000991B6
		// (set) Token: 0x06003840 RID: 14400 RVA: 0x0009AFBE File Offset: 0x000991BE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700101F RID: 4127
		// (get) Token: 0x06003841 RID: 14401 RVA: 0x0009AFC7 File Offset: 0x000991C7
		// (set) Token: 0x06003842 RID: 14402 RVA: 0x0009AFCF File Offset: 0x000991CF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ShopSkillId
		{
			get
			{
				return this.shopSkillId_;
			}
			set
			{
				this.shopSkillId_ = value;
			}
		}

		// Token: 0x17001020 RID: 4128
		// (get) Token: 0x06003843 RID: 14403 RVA: 0x0009AFD8 File Offset: 0x000991D8
		// (set) Token: 0x06003844 RID: 14404 RVA: 0x0009AFE0 File Offset: 0x000991E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Level
		{
			get
			{
				return this.level_;
			}
			set
			{
				this.level_ = value;
			}
		}

		// Token: 0x06003845 RID: 14405 RVA: 0x0009AFE9 File Offset: 0x000991E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EvolveBuildShopAbilityUpScRsp);
		}

		// Token: 0x06003846 RID: 14406 RVA: 0x0009AFF8 File Offset: 0x000991F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EvolveBuildShopAbilityUpScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.ShopSkillId == other.ShopSkillId && this.Level == other.Level && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003847 RID: 14407 RVA: 0x0009B054 File Offset: 0x00099254
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.ShopSkillId != 0U)
			{
				num ^= this.ShopSkillId.GetHashCode();
			}
			if (this.Level != 0U)
			{
				num ^= this.Level.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003848 RID: 14408 RVA: 0x0009B0C5 File Offset: 0x000992C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003849 RID: 14409 RVA: 0x0009B0CD File Offset: 0x000992CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600384A RID: 14410 RVA: 0x0009B0D8 File Offset: 0x000992D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Retcode);
			}
			if (this.ShopSkillId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.ShopSkillId);
			}
			if (this.Level != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Level);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600384B RID: 14411 RVA: 0x0009B150 File Offset: 0x00099350
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.ShopSkillId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ShopSkillId);
			}
			if (this.Level != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Level);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600384C RID: 14412 RVA: 0x0009B1C0 File Offset: 0x000993C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EvolveBuildShopAbilityUpScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.ShopSkillId != 0U)
			{
				this.ShopSkillId = other.ShopSkillId;
			}
			if (other.Level != 0U)
			{
				this.Level = other.Level;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600384D RID: 14413 RVA: 0x0009B224 File Offset: 0x00099424
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600384E RID: 14414 RVA: 0x0009B230 File Offset: 0x00099430
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 64U)
					{
						if (num != 80U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Level = input.ReadUInt32();
						}
					}
					else
					{
						this.ShopSkillId = input.ReadUInt32();
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001628 RID: 5672
		private static readonly MessageParser<EvolveBuildShopAbilityUpScRsp> _parser = new MessageParser<EvolveBuildShopAbilityUpScRsp>(() => new EvolveBuildShopAbilityUpScRsp());

		// Token: 0x04001629 RID: 5673
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400162A RID: 5674
		public const int RetcodeFieldNumber = 7;

		// Token: 0x0400162B RID: 5675
		private uint retcode_;

		// Token: 0x0400162C RID: 5676
		public const int ShopSkillIdFieldNumber = 8;

		// Token: 0x0400162D RID: 5677
		private uint shopSkillId_;

		// Token: 0x0400162E RID: 5678
		public const int LevelFieldNumber = 10;

		// Token: 0x0400162F RID: 5679
		private uint level_;
	}
}
